<%-- 
    Document   : rittenZoeken
    Created on : May 16, 2012, 5:02:10 PM
    Author     : Johan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
    <body>
    <li>
        <h2>Rapport selectie</h2>
        <ul>
            <form action="Rapport" method="get" >
                <b>Periode</b>
                <br>Jaar
                <br><select name="jaar">
                    <c:choose>
                        <c:when test="${jaar > 0}">
                            <option value="${jaar}" selected="selected">${jaar}</option>
                        </c:when>
                        <c:otherwise>
                            <option value="2012" selected="selected">2012</option>  
                        </c:otherwise>
                    </c:choose>
                    <option value="2011">2011</option>
                    <option value="2012">2012</option>
                    <option value="2013">2013</option>
                    <option value="2014">2014</option>
                    <option value="2015">2015</option>
                    <option value="2016">2016</option>
                    <option value="2017">2017</option>
                    <option value="2018">2018</option>
                </select>
                <br>Kwartaal
                <br><select name="kwartaal">
                    <option value="${kwartaal}" selected="selected">${kwartaal}</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value=""></option>
                </select>
                <br>Provincie 
                <br><select name="provincie">   
                    <option value="${provincie}" selected="selected">${provincie}</option>
                    <option value="Limburg">Limburg</option>
                    <option value="Noord-Brabant">Noord-Brabant</option>
                    <option value="Zeeland">Zeeland</option>
                    <option value="Zuid-Holland">Zuid-Holland</option>
                    <option value="Noord-Holland">Noord-Holland</option>
                    <option value="Utrecht">Utrecht</option>
                    <option value="Gelderland">Gelderland</option>
                    <option value="Flevoland">Flevoland</option>
                    <option value="Overijssel">Overijssel</option>
                    <option value="Drenthe">Drenthe</option>
                    <option value="Friesland">Friesland</option>
                    <option value="Groningen">Groningen</option>
                    <option value=""></option>
                </select>        
                <li></li>
                <b>Selectie</b>
                <br>
                <c:choose>                 
                    <c:when test="${rapporttype == 2}">
                        <br><INPUT TYPE="radio" NAME="radios" VALUE="1">Gebruikers rapportage
                        <br><INPUT TYPE="radio" NAME="radios" VALUE="2" CHECKED>Advertentie rapportage
                        <br><INPUT TYPE="radio" NAME="radios" VALUE="3">Ritten rapportage
                    </c:when>
                    <c:when test="${rapporttype == 3}">
                        <br><INPUT TYPE="radio" NAME="radios" VALUE="1">Gebruikers rapportage
                        <br><INPUT TYPE="radio" NAME="radios" VALUE="2">Advertentie rapportage
                        <br><INPUT TYPE="radio" NAME="radios" VALUE="3" CHECKED>Ritten rapportage
                    </c:when>
                    <c:otherwise>       
                        <br><INPUT TYPE="radio" NAME="radios" VALUE="1" CHECKED>Gebruikers rapportage
                        <br><INPUT TYPE="radio" NAME="radios" VALUE="2">Advertentie rapportage
                        <br><INPUT TYPE="radio" NAME="radios" VALUE="3">Ritten rapportage           
                    </c:otherwise>
                </c:choose>

                <br>
                <br>
                <input type="submit" name="knop" value="Rapport ophalen">
            </form>
        </ul>
    </li>
</body>
</html>
